import React from 'react'
import {  Dialog } from 'react-vant';
import {debounce}from "lodash"

function My_dialog({visible,onConfirm,onCancel,str}) {
  return (
    <div>
        <Dialog
        visible={visible}
        title={str}
        showCancelButton
        showConfirmButton
        onConfirm={onConfirm}
        onCancel={onCancel}
      >
       
      </Dialog>
    </div>
  )
}

export default My_dialog